package com.atguigu.day211103.work.test04.bean;

public class Card {
    String color;
    char points;

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public char getPoints() {
        return points;
    }

    public void setPoints(char points) {
        this.points = points;
    }

    public Card(String color, char points) {
        this.color = color;
        this.points = points;
    }
    public void showCard(){
        System.out.println(color+points);
    }
}
